package domain;

public class ContractType {
    private Integer id;

    private String typeCode;

    private String name;

    public ContractType(Integer id, String typeCode, String name) {
        this.id = id;
        this.typeCode = typeCode;
        this.name = name;
    }

    public ContractType() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode == null ? null : typeCode.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
}